package com.jpa.dao;

import java.io.Serializable;
import java.sql.Timestamp; 
import java.util.List;

import org.springframework.cache.annotation.CacheConfig;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.jpa.entity.Affairs;
import com.jpa.entity.Useradmin;

/**
 * Interface for AffairsDAO.
 * 
 * @author MyEclipse Persistence Tools
 */

@Repository
@Transactional
public interface IUseradminDao extends  JpaRepository<Useradmin,Integer>,JpaSpecificationExecutor<Useradmin>,Serializable {
	public Useradmin findByNameAndPassword(String name,String passwrod);
}